package de.akabahn.ebd.comm;

/**
 * Global configuration parameter
 * 
 * @author Christian Schlehuber
 * @author Peter Eimann
 * @since 0.1
 * @version 0.2
 */
public final class Config {
	/** The address of the DBD server */
	public final static String DBD_SERVER = "192.168.2.5";
	/** The address of the Fahrsteuerungs server */
	public final static String FST_SERVER = "192.168.2.5";
	/** The address of the FahrsteuerungControl server */
	public final static String FSTCTRL_SERVER = "192.168.2.5";

	/** Welcome message for the Fahrsteuerung */
	public final static String FST_WELCOME_MSG = "EBD-Fahrsteuerung";
	/** End of response text for the connection to the Fahrsteuerung */
	public final static String FST_EOR_CHARS = "\n> ";
	/** The telnet port for the Fahrsteuerung */
	public final static int FST_PORT = 25555;

	/** The dbd server port for the text protocol */
	public final static int DBD_PORT_TEXT = 1435;
	/** The dbd server port the binary protocol */
	public final static int DBD_PORT_BINARY = 1436;

	/** Welcome message for the Fahrsteuerung-Control */
	public final static String FSTCTRL_WELCOME_MSG = "EBD-Fahrsteuerung-Control";
	/** End of response text for the connection to the Fahrsteuerung-Control */
	public final static String FSTCTRL_EOR_CHARS = "\n";
	/** The telnet port for the Fahrsteuerung-Control */
	public final static int FSTCTRL_PORT = 9125;
	/** The name of the command parameter */
	public final static String FSTCTRL_PARAM_COMMAND = "CMD";
	/** The name of the tfz parameter */
	public final static String FSTCTRL_PARAM_TFZ = "TFZ";
	/** The name of the user parameter */
	public final static String FSTCTRL_PARAM_USER = "USER";
	/** The name of the password parameter */
	public final static String FSTCTRL_PARAM_PASSWORD = "PWD";
	/** The name of the new password parameter */
	public final static String FSTCTRL_PARAM_NEWPASSWORD = "NEWPWD";
	/** The name of the user properties file */
	public final static String FSTCTRL_USER_FILE = "conf/user.properties";
	/** The name of the config property file */
	public final static String FSTCTRL_CONF_FILE = "conf/config.properties";
	/** The ping interval in ms */
	public final static int FSTCTRL_PING_INTERVAL = 4000;
}
